package com.osgix.common.pojo;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class WebUser implements IUser, Serializable {

	private static final long serialVersionUID = -4688807431076084643L;
	private String userId; // 用户ID(数据库信息)
	private String userName; // 用户名称
	private String userAccount; // 登录名称
	private String userPassword; // 登录密码
	private String theme; // CSS
	private String email; // 个人邮箱
	private String userShort; // 用户缩写
	private String ipAdr; // 客户IP地址
	private boolean enabled;//是否激活
	private String role;//角色
	private String sessionId; // 用户登录所在的SessionId
	private Map<String, Set<String>> attribute = new HashMap<String, Set<String>>(); // 用户属性

	public WebUser() {
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getTheme() {
		return theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getUserShort() {
		return userShort;
	}

	public void setUserShort(String userShort) {
		this.userShort = userShort;
	}

	public String getIpAdr() {
		return ipAdr;
	}

	public void setIpAdr(String ipAdr) {
		this.ipAdr = ipAdr;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public Map<String, Set<String>> getAttribute() {
		return attribute;
	}

	public void setAttribute(Map<String, Set<String>> attribute) {
		this.attribute = attribute;
	}

} // end_clazz
